@import "./variables.scss";
// @import "./report.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
  // user-select: none; //禁止复制粘贴
}

.dates-picker {

  // body {
  .el-date-picker__header {
    .el-icon-d-arrow-left {
      display: none;
    }

    &:nth-child(2) {
      display: none;
    }

    .el-date-picker__header-label:nth-child(3) {
      display: none;
    }

    .el-icon-d-arrow-right {
      display: none;
    }
  }
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-family: $themeFontFamily;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 公用样式start
::-webkit-scrollbar {
  width: 0;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

// :hover::-webkit-scrollbar-thumb {
//   background: hsla(0, 0%, 53%, 0.4);
// }

// :hover::-webkit-scrollbar-track {
//   background: hsla(0, 0%, 53%, 0.1);
// }
::-webkit-scrollbar-thumb {
  width: 6px;
  background: #D6EBFF;

}

::-webkit-scrollbar-track {
  background: hsla(0, 0%, 53%, 0.1);
}

.ml-20 {
  margin-left: 20px;
}

.mr-20 {
  margin-right: 20px;
}

.w50p,
.w100p {
  width: 48%;

  .el-select {
    width: 100%;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }

  .el-input-number {
    width: 100%;

    input {
      text-align: left;

    }
  }

  .el-autocomplete {
    width: 100%;
  }
}

.w70p,
.w100p {
  width: 68%;

  .el-select {
    width: 100%;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }

  .el-autocomplete {
    width: 100%;
  }
}

.flex-1 {
  display: flex;
  position: relative;
}

.w30p,
.w100p {
  width: 31%;
  margin-right: 5px;

  .el-select {
    width: 100%;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }

  .el-input-number {
    width: 100%;
  }
}

.w100p {
  width: 100%;
}

// 公用样式end
.title-con {
  height: calc(100% - 46px);
  width: 100%;
  padding: 0 10px;
}

// 公用样式end
// .search-box {
.label-input {
  .label {
    text-align: end;
    padding: 0 10px;
  }
}

// }
.examine {
  color: #fffff0;
  position: absolute;
  top: 20px;
  right: 180px;
  background: radial-gradient(#03dbcd 30%, #08f8e890);
  border: none;
  padding: 6.5px 12px;
  font-size: 15px;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button.zh-button-two {
  animation: throttle 1s step-end forwards;
}

button.zh-button-two:active {
  animation: none;
}

@keyframes throttle {
  from {
    pointer-events: none;
  }

  to {
    pointer-events: all;
  }
}


.tr-sid {
  width: calc(15% - 10px);
  flex-shrink: 0;
  margin-right: 10px;
  height: 100%;
  padding: 10px;
  // background-color: #ffffff;
  box-sizing: border-box;
  // box-shadow: 0 0 2px 1px #00000030;

  .sid-head {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-bottom: #fff dashed 1px;
    color: #000;
  }

  .sid-tree {
    width: 100%;
    height: calc(100% - 31px);

  }
}
